package com.java.service;

import com.java.model.Admin;
import com.java.model.Result;
import org.springframework.ui.Model;

import javax.servlet.http.HttpServletRequest;

public interface AdminService extends BaseService<Admin>{
    /**
     * 登录验证
     * @param admin
     * @return
     */
    Result login(Admin admin, HttpServletRequest request, Model model);


}
